package com.dime.basic.mapper;

import java.util.List;
import com.dime.basic.api.domain.DimeBasecontraindicationcriterion;

/**
 * 职业诊断标准禁忌症Mapper接口
 * 
 * @author Tiny
 * @date 2023-10-13
 */
public interface DimeBasecontraindicationcriterionMapper 
{
    /**
     * 查询职业诊断标准禁忌症
     * 
     * @param id 职业诊断标准禁忌症主键
     * @return 职业诊断标准禁忌症
     */
    public DimeBasecontraindicationcriterion selectDimeBasecontraindicationcriterionById(String id);

    /**
     * 查询职业诊断标准禁忌症列表
     * 
     * @param dimeBasecontraindicationcriterion 职业诊断标准禁忌症
     * @return 职业诊断标准禁忌症集合
     */
    public List<DimeBasecontraindicationcriterion> selectDimeBasecontraindicationcriterionList(DimeBasecontraindicationcriterion dimeBasecontraindicationcriterion);

    /**
     * 新增职业诊断标准禁忌症
     * 
     * @param dimeBasecontraindicationcriterion 职业诊断标准禁忌症
     * @return 结果
     */
    public int insertDimeBasecontraindicationcriterion(DimeBasecontraindicationcriterion dimeBasecontraindicationcriterion);

    /**
     * 修改职业诊断标准禁忌症
     * 
     * @param dimeBasecontraindicationcriterion 职业诊断标准禁忌症
     * @return 结果
     */
    public int updateDimeBasecontraindicationcriterion(DimeBasecontraindicationcriterion dimeBasecontraindicationcriterion);

    /**
     * 修改职业诊断标准禁忌症
     *
     * @param dimeBasecontraindicationcriterion 职业诊断标准禁忌症
     * @return 结果
     */
    public int updateDimeBasecontraindicationcriterionByCationcriterionId(DimeBasecontraindicationcriterion dimeBasecontraindicationcriterion);

    /**
     * 删除职业诊断标准禁忌症
     * 
     * @param id 职业诊断标准禁忌症主键
     * @return 结果
     */
    public int deleteDimeBasecontraindicationcriterionById(String id);

    /**
     * 批量删除职业诊断标准禁忌症
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeBasecontraindicationcriterionByIds(String[] ids);

    public int deleteDimeBasecontraindicationcriterionByCriterionId(String criterionId);
}
